local home = os.getenv("HOME")
vim.g.dashboard_footer_icon = "🐬 "
vim.g.dashboard_preview_command = "cat"
vim.g.dashboard_preview_pipeline = "lolcat -F 0.3"
vim.g.dashboard_preview_file = home .. "/.config/nvim/static/neovim.cat"
vim.g.dashboard_preview_file_height = 12
vim.g.dashboard_preview_file_width = 80
vim.g.dashboard_default_executive = "telescope"
vim.g.dashboard_custom_section = {
	last_session = {
		description = { "  Recently laset session                  SPC s l" },
		command = "SessionLoad",
	},
	find_history = {
		description = { "  Recently opened files                   SPC f h" },
		command = "DashboardFindHistory",
	},
	find_file = {
		description = { "  Find  File                              SPC f f" },
		command = "Telescope find_files find_command=rg,--hidden,--files",
	},
	new_file = {
		description = { "  File Browser                            SPC f b" },
		command = "Telescope file_browser",
	},
	find_word = {
		description = { "  Find  word                              SPC f w" },
		command = "DashboardFindWord",
	},
	find_dotfiles = {
		description = { "  Open Personal dotfiles                  SPC f d" },
		command = "Telescope dotfiles path=" .. home .. "/.dotfiles",
	},
	go_source = {
		description = { "  Find Go Source Code                     SPC f s" },
		command = "Telescope gosource",
	},
}
